package com.six.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("supplier_manage")
@Data
public class Supplier {

    private Long id;
    //供应商编号
    private String code;
    private String name;

    //供应商类型，1：合格 0：不合格
    private Integer type;

    //助记码
    private String mnemonicCode;

    //省份
    private String province;

    //城市
    private String city;

    private String phone;

    //传真
    private String fax;
    //网址
    private String website;

    private String location;

    //邮编
    @TableField("zip_code")
    private String zipCode;

    //法人代表
    private String represent;

    //开户行
    private String bank;

    //账号
    private String account;

    //关系深度,1:接触型，2：成交型
    private Integer relation;

    //部门id
    @TableField("department_id")
    private Long departmentId;


    //员工id
    @TableField("admin_id")
    private Long adminId;

    //备注
    private String remarks;

    //接受权限的id，用逗号拼接发给后端
    @TableField(exist = false)//数据库不存在该字段
    private String materialIds;


}
